Total Complexity | 95 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 510 |
Lines of code | 358 |
Logical lines of code | 172 |
Comment lines | 75 |
Methods | 11 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__render_add_to_cart_button() | 34 | 25 | 85 | |
render_shiny_grid_item() | 39 | 21 | 61 | |
render_add_to_cart_button() | 45 | 11 | 42 | |
render_swatches_variation() | 44 | 9 | 41 | |
render_simple_variations() | 44 | 8 | 43 | |
render_product_variation() | 57 | 7 | 15 | |
render_product_image() | 48 | 5 | 38 | |
get_variation_id_from_attributes() | 58 | 5 | 15 | |
print_price_output() | 63 | 2 | 11 | |
__construct() | 77 | 1 | 4 | |
has_swatches_support() | 80 | 1 | 3 |